/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bigo.lib;

import bigo.BigODriver;
import bigo.data.Vector.Wrapper;
import java.io.IOException;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.Reducer.Context;

/**
 *
 * @author songliu
 */
public class BigOReducer extends Reducer<IntWritable, Wrapper,
        IntWritable, Wrapper>{

    @Override
    protected void setup(Context context) throws IOException, InterruptedException {
        BigODriver.loadFields(context.getConfiguration());
    }

}
